var e = Object.assign || function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (e[s] = r[s]);
    }
    return e;
  },
  t = wx.getSystemInfoSync(),
  r = e({
    isWXVersionGt: t.version.split(".").every(function(e, t, r) {
      return 0 === t ? +e >= 6 : !(1 === t && 6 == +r[0] && +e < 6);
    }),
    isWXSDKVersionGt: t.SDKVersion.split(".")[0] >= 2,
    isIOS: t.system.indexOf("iOS") > -1,
    isIphoneX: t.model.indexOf("iPhone X") > -1
  }, t);

exports.systemInfo = r;